package com.project.mapper;

import com.project.bean.CarBean;
import com.project.bean.ManBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公民mapper
 */
public interface IManMapper {
    public List<ManBean> findAll();
    public void addMan(ManBean man);
    public void addCar(@Param("carList") List<CarBean> carList,@Param("manId") int manId);
    public void delSetNull(int id);
    public ManBean findByIdIncludeCar(int id);
}
